//
//  UIAlertController+ShowMessage.h
//  CaiPiao-JS
//
//  Created by apple on 2017/6/13.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^AlertDoneAction)();
typedef void(^AlertCancleAction)();
@interface UIAlertController (ShowMessage)

+(UIAlertController*)showAlert:(NSString*)message;
+(UIAlertController*)showAlert:(NSString*)message andDoneAction:(AlertDoneAction)AlertDone;
+(UIAlertController*)showAlertWithTitle:(NSString*)title andMessage:(NSString*)message andDoneAction:(AlertDoneAction)AlertDone;




///***
// headerColor
// textColor
// actionTitleColor
// actionBackgroundColor
// 
// // 带 cancel 按钮的 alert
// 
// ***/
+(void)showConfirmWithColorStyle:(NSDictionary*)colorStyle Title:(NSString*)title Message:(NSString*)message andDoneAction:(AlertDoneAction)AlertDone andCancelAction:(AlertCancleAction)AlertCancle;
//
///***
// [UIAlertController showAlertWithColorStyle:@{@"headerColor":NavBarColor,@"actionTitleColor":NavBarColor} Title:@"" Message:message];
//
// // 只有一个 OK 的 alert
// ***/
//
+(void)showAlertWithColorStyle:(NSDictionary*)colorStyle Title:(NSString*)title Message:(NSString*)message andDoneAction:(AlertDoneAction)AlertDone;

@end
